package com.estate.asset.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.estate.bean.Device;
import com.estate.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface AssetService extends IService<Device> {
    JsonResult listByPage(int page, int size);

    JsonResult saveDevice(Device device);

    JsonResult updateDevice(Device device);

    JsonResult deleteDevice(String deviceId);
}
